package com.tedu.rechargeOrder.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class RechargeOrderSavaParam {
    @ApiModelProperty("订单Id")
    private Long orderId;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("总金额")
    private BigDecimal amount;
    @ApiModelProperty("订单状态")
    private String status;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("支付方式")
    private String paymentMethod;
    @ApiModelProperty("第三方交易ID")
    private String transactionId;
}
